package cn.kginglam.dynamic_excel.strategy.constant;

import cn.kginglam.dynamic_excel.strategy.ImportExcel2DatabaseStrategy;
import cn.kginglam.dynamic_excel.strategy.impl.importExcel2Database.StudentInfoImportExcel2DatabaseStrategy;

/**
 * @author: Lam
 * @date: 2021-09-30 14:49
 * @description:
 */
public enum ImportExcel2DatabaseEnum {

    STUDENT_INFO_IMPORT_EXCEL_2_DATABASE("STUDENT_INFO_IMPORT_EXCEL_2_DATABASE", new StudentInfoImportExcel2DatabaseStrategy());


    private String strategyKey;

    private ImportExcel2DatabaseStrategy importExcel2DatabaseStrategy;

    ImportExcel2DatabaseEnum(String strategyKey, ImportExcel2DatabaseStrategy importExcel2DatabaseStrategy) {
        this.strategyKey = strategyKey;
        this.importExcel2DatabaseStrategy = importExcel2DatabaseStrategy;
    }

    public String getStrategyKey() {
        return strategyKey;
    }

    public ImportExcel2DatabaseStrategy getImportExcel2DatabaseStrategy() {
        return importExcel2DatabaseStrategy;
    }
}
